package com.zilu.digitaltwin.dto.req;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName: MvtStreamReqDTO
 * @Description:
 * @Author: 段振宇
 * @Date: 2023/1/9 20:31
 */
@Data
public class MvtStreamReqDTO {

    @JsonProperty("x")
    private Integer x;
    @JsonProperty("y")
    private Integer y;
    @JsonProperty("z")
    private Integer z;
    @JsonProperty("layers")
    private List<LayersDTO> layers;

    private List<String> entityCodes;

    @Data
    public static class LayersDTO {
        @JsonProperty("entity")
        private String entity;
    }
}
